#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif


void Test1()
{
    // 通过定义临时对象，来完成方法的调用
    vector<vector<int>> vv= {{2,1,3},{6,5,4},{7,8,9}};
    int ret = Solution().minFallingPathSum(vv);
    if(ret == 13){
        std::cout << "通过 [用例1] : [[2,1,3],[6,5,4],[7,8,9]] " << std::endl;

    }
    else{
        std::cout << "失败 [用例1] : [[2,1,3],[6,5,4],[7,8,9]] "  << std::endl;
    }
}

void Test2()
{
    // 通过定义临时对象，来完成方法的调用
    vector<vector<int>> vv= {{-19,57},{-40,-5}};
    int ret = Solution().minFallingPathSum(vv);
    if(ret==-59){
        std::cout << "通过 [用例2] : [[-19,57],[-40,-5]] " << std::endl;
    }
    else{
        std::cout << "失败 [用例2] : [[-19,57],[-40,-5]] "  << std::endl;
    }
}

int main()
{
    Test1();
    Test2();

    return 0;
}